package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class ProgramLogs implements Serializable {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 2974939363916814062L;

	private String				id;

	private String				institutionId;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date				logTime;

	private String				operator;

	private String				level;

	private String				logger;

	private String				message;

	private String				exception;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getLogger() {
		return logger;
	}

	public void setLogger(String logger) {
		this.logger = logger;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public ProgramLogs() {
		super();
	}

	public ProgramLogs(String id, String institutionId, Date logTime, String operator, String level, String logger, String message, String exception) {
		super();
		this.id = id;
		this.institutionId = institutionId;
		this.logTime = logTime;
		this.operator = operator;
		this.level = level;
		this.logger = logger;
		this.message = message;
		this.exception = exception;
	}

	@Override
	public String toString() {
		return "ProgramLogs [id=" + id + ", institutionId=" + institutionId + ", logTime=" + logTime + ", operator=" + operator + ", level=" + level
				+ ", logger=" + logger + ", message=" + message + ", exception=" + exception + "]";
	}
}